FROM java
VOLUME /tmp
ADD guns-admin-1.0.0-SNAPSHOT.jar gunsapp.jar
RUN sh -c 'touch /gunsapp.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /gunsapp.jar" ]